﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.BasicData.ErrorCode
{
    /// <summary>
    /// 状态码枚举
    /// </summary>
    public enum ApiEnums
    {
        [Description("成功")]
        Success = 200,
        [Description("失败")]
        Fail = 500,
        [Description("错误")]
        Error = 502,
        [Description("登录成功!")]
        LoginOk = 201,
        [Description("新增账号成功!")]
        CreateAccountOk = 202,
        [Description("修改账号成功!")]
        UpdateAccountOk = 203, 
        [Description("删除账号成功!")]
        DelAccountOk = 204,

        [Description("用户名不存在!")]
        LoginUserNotExisit = 501,
        [Description("密码错误!")]
        LoginPasswordError = 503,


    }
}
